package com.example.sys.attachment.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.core.po.BaseCorePo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "附件信息")
@TableName(value = "sys_attachment")
public class SysAttachment extends BaseCorePo<SysAttachment> {

    @ApiModelProperty(value = "附件类型")
    @TableField(value = "type")
    private String type;

    @ApiModelProperty(value = "附件长度")
    @TableField(value = "length")
    private long length;

    @ApiModelProperty(value = "附件位置")
    @TableField(value = "path")
    private String path;

    @ApiModelProperty(value = "ocr执行结果")
    private transient Object ocrObj;
}
